{
  "type": "OrderAlreadyExistsError",
  "subClassOf": "#OpenBookingError",
  "description": {
    "sections": [
      {
        "title": "Error Use Case",
        "paragraphs": [
          "The Order UUID used for an `OrderQuote` already represents a completed `Order` with a different set of `OrderItem`s to those specified (note call to B is idempotent for the case where `OrderItem`s match). This happens in the rare event of a Order UUID clash."
        ]
      }
    ]
  },
  "fields": {
    "type": {
        "fieldName": "type",
        "requiredContent": "OrderAlreadyExistsError",
        "requiredType": "https://schema.org/Text"
    },
    "name": {
      "description": [
          "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization."
      ],
      "example": "The Order UUID used for an 'OrderQuote' already represents a completed 'Order' with a different set of 'OrderItem's to those specified (note call to B is idempotent for the case where 'OrderItem's match). This happens in the rare event of a Order UUID clash.",
      "defaultContent": "The Order UUID used for an 'OrderQuote' already represents a completed 'Order' with a different set of 'OrderItem's to those specified (note call to B is idempotent for the case where 'OrderItem's match). This happens in the rare event of a Order UUID clash.",
      "fieldName": "name",
      "requiredType": "https://schema.org/Text",
      "sameAs": "https://schema.org/name"
    },
    "statusCode": {
      "fieldName": "statusCode",
      "sameAs": "https://openactive.io/statusCode",
      "requiredType": "https://schema.org/Integer",
      "requiredContent": 500,
      "defaultContent": 500,
      "description": [
        "An integer representing the HTTP status code."
      ]
    }
  }
}
