Newer
Older
web-services / mapping-tools / swagger.json
{
    "servers": [{
        "variables": {
            "scheme": {
                "default": "https"
            }
        }
    }],
    "tags": [
        {
            "name": "mapping",
            "description": "Tables de correspondance",
            "externalDocs": {
                "description": "Plus de documentation",
                "url": "https://gitbucket.inist.fr/tdm/web-services/tree/master/mapping-tools"
            }
        }
    ],
    "components": {
        "schemas": {
            "IdRNSRs1": {
                "type": "array",
                "items": {
                    "$ref": "#/components/IdRNSR1"
                }
            },
            "IdRNSR1": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "$ref": "#/components/RNSR"
                    }
                }
            },
            "RNSR": {
                "type": "string",
                "pattern": "^[0-9]{9}[A-Z]$",
                "example": "200919362L"
            },
            "IdInstitutes": {
                "type": "array",
                "items": {
                    "$ref": "#/components/IdInstitute"
                }
            },
            "IdInstitute": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "type": "string",
                        "example": "INEE"
                    }
                }
            }
        }
    }
}