{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/postman/main/json-schema/postman-api-schema-schema.json",
  "title": "ApiSchema",
  "description": "An API schema definition.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postman-api-schemas-api-openapi.yml#/components/schemas/ApiSchema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "apiId": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "openapi3_1",
        "openapi3",
        "openapi2",
        "openapi1",
        "raml",
        "graphql",
        "proto2",
        "proto3",
        "wsdl1",
        "wsdl2",
        "asyncapi2"
      ]
    },
    "language": {
      "type": "string",
      "enum": [
        "json",
        "yaml"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "createdBy": {
      "type": "integer"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "integer"
    },
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        }
      }
    }
  }
}