{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dane-biznes-gov-pl/json-schema/dane-biznes-gov-pl-fbc-service-details-dto-schema.json",
  "title": "FbcServiceDetailsDto",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dane-biznes-gov-pl-fbc-openapi.yml#/components/schemas/FbcServiceDetailsDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "processingTimeDescription": {
      "type": "string"
    },
    "procedureSteps": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FbcServiceDetailsProcedureStepDto"
      }
    },
    "inputDocuments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FbcServiceDetailsDocumentDto"
      }
    },
    "outputDocuments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FbcServiceDetailsDocumentDto"
      }
    },
    "notice": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FbcServiceDetailsNoticeDto"
      }
    }
  },
  "$defs": {
    "FbcServiceDetailsAttachmentDto": {
      "type": "object",
      "properties": {
        "attachmentName": {
          "type": "string"
        },
        "format": {
          "type": "string"
        },
        "attachmentType": {
          "type": "string"
        }
      }
    },
    "FbcServiceDetailsDocumentDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "attachments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FbcServiceDetailsAttachmentDto"
          }
        }
      }
    },
    "FbcServiceDetailsNoticeDto": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "subtitle": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "FbcServiceDetailsProcedureStepDto": {
      "type": "object",
      "properties": {
        "number": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "deadline": {
          "type": "string"
        },
        "fees": {
          "type": "string"
        }
      }
    }
  }
}