{
    "enumDefs": [
        {
            "name": "file_action",
            "typeVersion": "1.0",
            "serviceType": "file_system",
            "elementDefs": [
                {
                    "ordinal": 0,
                    "value": "NONE"
                },
                {
                    "ordinal": 1,
                    "value": "EXECUTE"
                },
                {
                    "ordinal": 2,
                    "value": "WRITE"
                },
                {
                    "ordinal": 3,
                    "value": "WRITE_EXECUTE"
                },
                {
                    "ordinal": 4,
                    "value": "READ"
                },
                {
                    "ordinal": 5,
                    "value": "READ_EXECUTE"
                },
                {
                    "ordinal": 6,
                    "value": "READ_WRITE"
                },
                {
                    "ordinal": 7,
                    "value": "ALL"
                }
            ]
        }
    ],
    "structDefs": [
        {
            "name": "fs_permissions",
            "serviceType": "file_system",
            "typeVersion": "1.0",
            "attributeDefs": [
                {
                    "name": "group",
                    "typeName": "file_action",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "isUnique": false
                },
                {
                    "name": "user",
                    "typeName": "file_action",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "isUnique": false
                },
                {
                    "name": "sticky",
                    "typeName": "boolean",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "isUnique": false
                },
                {
                    "name": "others",
                    "typeName": "file_action",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "isUnique": false
                }
            ]
        }
    ],
    "classificationDefs": [],
    "entityDefs": [
        {
            "name": "fs_path",
            "superTypes": [
                "DataSet"
            ],
            "serviceType": "file_system",
            "typeVersion": "1.0",
            "attributeDefs": [
                {
                    "name": "path",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "includeInNotification": true,
                    "isUnique": false
                },
                {
                    "name": "createTime",
                    "typeName": "date",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "modifiedTime",
                    "typeName": "date",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "isFile",
                    "typeName": "boolean",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "isSymlink",
                    "typeName": "boolean",
                    "cardinality": "SINGLE",
                    "isIndexable": false,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "fileSize",
                    "typeName": "long",
                    "cardinality": "SINGLE",
                    "isIndexable": false,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "group",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "posixPermissions",
                    "typeName": "fs_permissions",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                }
            ]
        },
        {
            "name": "hdfs_path",
            "superTypes": [
                "fs_path"
            ],
            "serviceType": "file_system",
            "typeVersion": "1.1",
            "attributeDefs": [
                {
                    "name": "clusterName",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "includeInNotification": true,
                    "isUnique": false
                },
                {
                    "name": "numberOfReplicas",
                    "typeName": "int",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "extendedAttributes",
                    "typeName": "map<string,string>",
                    "cardinality": "SINGLE",
                    "isIndexable": false,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "nameServiceId",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": false,
                    "isOptional": true,
                    "includeInNotification": true,
                    "isUnique": false
                }
            ]
        }
    ]
}
