About this site 한국어

Unofficial explanatory translation of the Korean AI-Ready Data (AIRD) draft standard. The Korean text prevails.

Preparing data › Procedure

Writing the manifest (stage 1)

Type · ProcedureReading time · about 3 minData providers

ContentsContents
  1. 1. Write the metadata elements
  2. 2. Write the manifest
  3. 3. Write the column schema
  4. 4. Tidy the file format

The manifest is a file that records, in machine-readable JSON-LD, what the data is, where it is and under what conditions it may be used. At stage 1 you write the metadata elements and the column schema to produce manifest.json; this file is the basis for the data reaching the Discoverable state.

1. Write the metadata elements

There are 23 elements: 19 for the dataset and 4 for each distributed file. Public data fills in all 23. For other data, theme and landing page are recommended, so 21 are required. If there are several files, fill in the 4 distribution elements for each file. A dataset containing personal information also records its de-identification level (aird:deidentificationLevel; conditionally required).

Elements with a fixed value list, such as update frequency, license and language, take a value from the list instead of free text. License, terms of use, the publication scope of personal information and the identifier policy are decided by the organization, so check them with the responsible department.

Stage 1 checklist — tick the 23 elements

Stage 1 checklist — 23 metadata elements (demo profile)

0 / 23 filled

Dataset

Distribution (per file)

Checkbox states are saved only in this browser. Source: AIRD vocabulary v0.10.5 demo profile.

Value lists (main elements)
ElementValues
Lifecycle status aird:lifecycleStatusDiscoverable · Quality-Ready · Purpose-Ready · Stale — Discoverable at stage 1
Creation method aird:creationMethodcollected · processed · synthetic · augmented
Update frequency dct:accrualPeriodicityANNUAL · QUARTERLY · MONTHLY · DAILY · IRREG (irregular) and others (EU Frequency list)
License dct:licenseKOGL-0–KOGL-4 · KOGL-AI · NO-RESTRICTION · six CC licenses such as CC-BY-4.0 · CC0-1.0 (14 values of kr-license)
Access rights dct:accessRightsPUBLIC · RESTRICTED · NON_PUBLIC
Language dct:languageKOR · ENG and others (EU Language list)
Media type dcat:mediaTypetext/csv · application/json · image/jpeg and others (IANA)

The manifest records the concept URI of each value; for example, ANNUAL is written as http://publications.europa.eu/resource/authority/frequency/ANNUAL. Values for service type, dataset structure type and theme, and the full concept URIs, are in Metadata elements. If a license is not on the list, such as a company’s own terms of use, write the name and effective date of the terms in terms of use (dct:rights).

Elements often missed or mis-filled
ElementRuleCommon error
Persistent identifierA permanent value that never changes; a resolvable URI, different from the access URLAn internal number used as is
KeywordsThree or moreOnly one or two
Update frequencyURI from the standard listFree text such as “quarterly” or “as needed”
LicenseOne of the 14 kr-license valuesA sentence such as “Third-party rights: N”
Media typeIANA notation such as text/csv“Text” or “Image”
ChecksumSHA-256 for each fileMissing
Access URLThe actual location of this data’s fileCopied from another manifest without changing the URL — not caught by format checks

The 23 elements follow the demo profile of vocabulary v0.10.5. The draft standard requires 19 (15 for the dataset, 4 for distributions); the demo profile adds dataset structure type, theme, landing page and maintaining department.

2. Write the manifest

Record the elements in JSON-LD. Replace the <…> parts of the skeleton below with your values and save it as manifest.json. Once the diagnostic tool is released, you can also edit the draft it produces.

manifest.json skeleton (23 elements)
{
  "@context": "https://datahub.kr/ns/aird-context-3.0.jsonld",
  "@id": "<dataset identifier>/manifest/1.0.0",
  "@type": "dcat:Dataset",
  "dct:identifier": "<dataset identifier — see Choosing persistent identifiers>",
  "dct:title": "<title>",
  "dct:description": "<description>",
  "dcat:version": "1.0.0",
  "dcat:keyword": ["<keyword1>", "<keyword2>", "<keyword3>"],
  "dct:type": [
    "http://vocab.datahub.kr/def/dcat-ap-kr/service-type/FILE",
    "http://vocab.datahub.kr/def/aird/dataset-type/Structured"
  ],
  "dct:language": ["http://publications.europa.eu/resource/authority/language/KOR"],
  "aird:lifecycleStatus": "http://vocab.datahub.kr/def/aird/lifecycle-status/Discoverable",
  "dcat:theme": ["http://vocab.datahub.kr/def/dcat-ap-kr/data-theme/<theme>"],
  "dcat:landingPage": "<data detail page URL>",
  "dct:creator": ["<creator URI or organization name>"],
  "dct:publisher": "<publisher URI or organization name>",
  "dcatkr:maintainer": { "@type": "foaf:Agent", "foaf:name": "<maintaining department>" },
  "dcat:contactPoint": { "@type": "vcard:Contact", "vcard:fn": "<name>", "vcard:hasEmail": "mailto:<email>" },
  "aird:creationMethod": "http://vocab.datahub.kr/def/aird/creation-method/collected",
  "dct:accrualPeriodicity": "http://publications.europa.eu/resource/authority/frequency/ANNUAL",
  "dct:license": "http://vocab.datahub.kr/def/dcat-ap-kr/license/KOGL-1",
  "dct:rights": "<notice on the scope of use>",
  "dct:accessRights": "http://publications.europa.eu/resource/authority/access-right/PUBLIC",
  "csvw:tableSchema": {
    "columns": [
      { "name": "<column name>", "datatype": "string", "dc:description": "<description>", "required": true },
      { "name": "<numeric column>", "datatype": { "base": "integer", "minimum": 0, "maximum": 100000 }, "dc:description": "<description and unit>" },
      { "name": "<code column>", "datatype": "string", "dc:description": "<code table and edition>. 01=open, 02=suspended, 03=closed" }
    ],
    "primaryKey": "<record key column>"
  },
  "dcat:distribution": [{
    "@type": "dcat:Distribution",
    "dcat:accessURL": "<file URL>",
    "dcat:mediaType": "text/csv",
    "dct:format": "http://publications.europa.eu/resource/authority/file-type/CSV",
    "spdx:checksum": { "spdx:algorithm": "SHA-256", "spdx:checksumValue": "<SHA-256 value>" }
  }]
}
  • Checksum: compute it with sha256sum filename on Linux or shasum -a 256 filename on macOS.
  • Syntax check: run python3 -m json.tool manifest.json and confirm there are no errors. The manifest validator is under review, so check that the elements are met by opening the “Stage 1 checklist” in section 1.

Put the finished manifest at a public address where users and agents can download it; for public data, link it from the portal detail page (landing page). For now, check whether the stage 1 decision gate (G1) is met with the checklist; the G1 judgment record is written by the diagnostic tool. A complete example with values is in Manifest example. A new manifest is issued for each version and points to the previous one with dcat:previousVersion.

3. Write the column schema

Tabular data must have a column schema (csvw:tableSchema). Column descriptions in the source database are often lost when exported to CSV, and a name such as mkt_nm alone does not tell what the values mean. For each column, record the name, data type, description and whether it is required, and the meaning of each code value if there are codes.

Value ranges, cross-field relations, derivation rules and code tables with their editions are recommended by this site, but they are inputs to measurement at stage 2. Without them the diagnostic tool cannot measure the related indicators and records the reason in the report. Value ranges are used for measurement only when written as the data type’s minimum and maximum (minimum, maximum), not in the description text, as in the numeric column of the skeleton. There is currently no dedicated property for code meanings, so write them in the column description, and put the column that identifies a record (record key) in primaryKey. The column schema can also be kept as a separate document that the manifest points to by address and hash.

Column items and related indicators
ItemStatusExampleIndicator that uses it
NameRequiredbizr_no—
Data typeRequiredstring—
DescriptionRequiredBusiness registration number issued by the National Tax Service, without hyphens—
Required or notRequiredRequired (must not be empty)D1-01 required field completeness
Value rangeRecommendedemployeeCount 0 to 100000D5-02 numeric range validity
Cross-field relationRecommendedIf closed is 1, a closing date existsD2-01 cross-field consistency
Derivation ruleRecommendedTotal = male + femaleD2-03 derived value accuracy
Code table and editionRecommendedKorean Standard Industrial Classification (revision stated); 01=open · 02=suspended · 03=closedD2-02 referential integrity
Display name · unitRecommendedBusiness registration number · KRW · ㎡ · ℃—
Empty-value notationRecommendedEmpty cell—

Empty-value notation is not a requirement of the standard, but use one notation. Mixing empty cells, -, N/A and 0 makes it impossible to tell a real 0 from a missing value.

4. Tidy the file format

Convert formats that open only in a specific program to open formats. CSV (UTF-8) is recommended for tables, with Parquet alongside for large files. Remove merged cells, subtotal rows and multi-row headers, and split workbooks that hold several tables into one file per table. Format conversion and table tidying change only the container, not the content of the values.

Recommended formats by kind of data
Kind of dataRecommended formatReason
TabularCSV (UTF-8)Readable by general tools
Tabular, largeParquet alongsideFaster download and processing
Hierarchical dataJSONFlattening loses the hierarchy
Geographic dataGeoJSONIncludes the coordinate system
DocumentsOriginal format + extracted textThe original alone is not machine-readable
ImagesStandard image formatsProprietary formats are unreadable by general tools

Image labels, train/validation splits, instruction–response pairing and document chunking are not stage 1 requirements. Unlabelled photos can also be Discoverable.

Completion check

  • Metadata elements written (23 for public data, at least 21 otherwise)
  • Name, data type, description and required flag recorded for each column
  • Checksum recorded for each file
  • manifest.json syntax checked

Next step: Choosing persistent identifiers — decide the value of the dataset identifier.

Basis: Part 1 5.2 · Part 3 5.1, Annex A.1, A.2 · vocabulary v0.10.5 demo profile