{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/terminal49/json-schema/terminal49-shipping-line-single-schema.json",
  "title": "ShippingLineSingle",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/terminal49-shipping-lines-api-openapi.yml#/components/schemas/ShippingLineSingle",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/ShippingLineResource"
    }
  },
  "$defs": {
    "ShippingLineAttributes": {
      "type": "object",
      "properties": {
        "scac": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "short_name": {
          "type": "string"
        },
        "bill_of_lading_prefixes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "ShippingLineResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "shipping_line"
          ]
        },
        "attributes": {
          "$ref": "#/$defs/ShippingLineAttributes"
        }
      }
    }
  }
}