Skip to content

Enum datatype representation is missing in the spec. #3

@Fak3

Description

@Fak3

Current spec does not say anything about representing Enums in the interchange json. Current plugin implementation outputs this for a enum into the json file:

    "TransportEventType_Code": {
        "name": "TransportEventType_Code",
        "type": "Enum",
        "isAbstract": false,
        "description": "",
        "Property": [],
        "Enum": [
            {
                "name": "Call",
                "description": "",
                "tags": []
            },
            {
                "name": "Arrival",
                "description": "",
                "tags": []
            },
            {
                "name": "Departure",
                "description": "",
                "tags": []
            },
            {
                "name": "Loading",
                "description": "",
                "tags": []
            },
            {
                "name": "UnLoading",
                "description": "",
                "tags": []
            },
            {
                "name": "BorderCrossing",
                "description": "",
                "tags": []
            },
            {
                "name": "TransShipment",
                "description": "",
                "tags": []
            },
            {
                "name": "Stop",
                "description": "",
                "tags": []
            }
        ]
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions