{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/avoindata-prh-fi/json-schema/avoindata-prh-fi-company-public-notice-schema.json",
  "title": "CompanyPublicNotice",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/avoindata-prh-fi-registerednotices-openapi.yml#/components/schemas/CompanyPublicNotice",
  "type": "object",
  "required": [
    "businessId",
    "recordNumber"
  ],
  "properties": {
    "businessId": {
      "type": "string",
      "description": "A Business ID of company"
    },
    "registrationDate": {
      "type": "string",
      "format": "date",
      "description": "Date of registration"
    },
    "recordNumber": {
      "type": "string",
      "description": "Record number of entry"
    },
    "typeOfRegistration": {
      "type": "string",
      "description": "Registration type of entry"
    },
    "entryCodes": {
      "type": "array",
      "description": "Entry codes",
      "items": {
        "type": "string"
      }
    },
    "companyDetailsUri": {
      "type": "string",
      "description": "A record URI for details"
    }
  }
}