{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/postman/main/json-schema/postman-create-spec-response-schema.json",
  "title": "createSpecResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postman-specs-api-openapi.yml#/components/schemas/createSpecResponse",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The API specification's name."
    },
    "type": {
      "$ref": "#/$defs/specType"
    },
    "id": {
      "type": "string",
      "description": "The specification's ID."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time at which the specification file was created."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time at which the file was last updated."
    },
    "createdBy": {
      "type": "integer",
      "description": "The user ID of the user that created the file."
    },
    "updatedBy": {
      "type": "integer",
      "description": "The user ID of the user that last updated the specification file."
    }
  },
  "$defs": {
    "specType": {
      "type": "string",
      "enum": [
        "OPENAPI:2.0",
        "OPENAPI:3.0",
        "OPENAPI:3.1",
        "ASYNCAPI:2.0",
        "ASYNCAPI:3.0",
        "PROTOBUF:2",
        "PROTOBUF:3",
        "GRAPHQL",
        "SMITHY:2.0"
      ],
      "description": "The type of API specification.",
      "title": "specType"
    }
  }
}