Aroma ID Registry

Standards / Aroma ID Registry / Specification

Aroma ID Registry, version 1.0

Version 1.0 — public draft Source: Aroma ID Registry @ 5a06920 (2026-11-24)

Contents

Status: Version 1.0 draft.

ASMF (spec/asmf-format.md) names every aroma by a random identifier, so that a scent plays the right aroma on any device that holds it. An identifier on its own says nothing about the aroma. The Aroma ID Registry lets anyone look an identifier up: what the aroma is called, who registered it, which scent it is a variant of, and whether it is still made. It defines two JSON documents:

  • the registry document, which an operator publishes and anyone can download, and
  • the registration record, which a registrant sends to the operator to register one aroma. It carries the provenance of the aroma's materials, which is confidential: an operator never publishes it.

Every JSON example in this document is checked by the reference implementation (section 12). The line above each example says whether it is a valid document, an invalid one (and the error it gives first), the public record of the registration before it, or a fragment; a comment that is not shown when the document is rendered repeats the verdict for the checker.

1. Scope

This document defines:

  • the registry document and the registration record (sections 4 and 7),
  • how aromas of the same name are told apart (section 5), and how variants and new purchases are recorded (section 6),
  • what of a registration is public and what is confidential (section 7),
  • statuses and merges, and what a player may do with them (sections 8 and 10),
  • how to check an implementation (section 12).

It does not define how a registration reaches the operator, how the operator reviews it, or how the registry document is distributed. For now registrations are made by contacting the operator; a submission protocol may be defined later. It does not define how a substitute aroma is chosen (ASMF section 10).

2. Terminology

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY" and "OPTIONAL" in this document are to be interpreted as described in BCP 14 (RFC 2119 and RFC 8174) when, and only when, they appear in all capitals, as shown here.

  • Operator: the organization that keeps a registry and publishes its registry document.
  • Registrant: who registers an aroma: an organization, or a person identified by a public handle.
  • Registry document: one JSON text with the member aromaRegistry. Public.
  • Registration record: one JSON text with the member aromaRegistration. Confidential in part (section 7).
  • Aroma identifier: an ASMF aroma identifier (ASMF section 13): a random UUID.
  • Tag: the first 8 hexadecimal digits of an aroma identifier, in lower case (section 5).
  • Family: the scent an aroma is a variant of (section 6).
  • Lot: one purchase of the materials of an aroma (section 6).
  • Reader, structural error, rule violation, path: as in ASMF sections 2 and 5.

3. Identifiers are permanent

An aroma identifier is created by its registrant as ASMF section 13 says: a random UUID (version 4), never derived from a name, a code or any other information. Registering it does not change it.

Once an operator has published an identifier, the identifier is permanent:

  • it is never deleted from the registry document and never given to another aroma;
  • its aroma can only become retired (no longer made) or merged (declared the same aroma as another identifier), section 8;
  • ASMF documents that use it stay meaningful for ever.

4. The registry document

A registry document is a single JSON text (RFC 8259) encoded in UTF-8 without a byte order mark. Its top level is an object. The rules of ASMF section 3 for the text apply unchanged.

Valid.

{
  "aromaRegistry": "1.0",
  "registry": {"operator": "Aromajoin Corporation", "updatedAt": "2026-11-19T09:00:00Z"},
  "registrants": [
    {"key": "example-scents", "kind": "organization", "name": "Example Scents Ltd."},
    {"key": "mina", "kind": "person", "name": "@mina"}
  ],
  "aromas": [
    {"id": "8d3f6a2b-41c7-4e95-b0a8-7c2d9e1f5a36", "registrant": "example-scents", "name": {"en": "Jasmine", "ja": "ジャスミン"},
     "category": "FLORAL", "family": "Jasmine", "code": "EX-001", "status": "active", "registeredAt": "2026-03-02"},
    {"id": "5b72e0d9-8c14-4a3f-be61-d94a2f7c3b08", "registrant": "example-scents", "name": {"en": "Jasmine Sambac"},
     "category": "FLORAL", "family": "Jasmine", "code": "EX-002", "status": "active", "registeredAt": "2026-11-19"},
    {"id": "f1a9c4e7-2b58-4d06-93ce-6a1b8d4f07e2", "registrant": "mina", "name": {"en": "Jasmine"},
     "category": "FLORAL", "family": "Jasmine", "status": "active", "registeredAt": "2026-11-19"},
    {"id": "c4e81f3a-6d29-4b7e-a51c-0f8e3b6d92a4", "registrant": "example-scents", "name": {"en": "Old Rose"},
     "category": "FLORAL", "family": "Rose", "code": "EX-003", "status": "retired", "registeredAt": "2025-04-01"},
    {"id": "2a6d9b4c-e37f-4c18-8b05-61f4a7e2d9c3", "registrant": "example-scents", "name": {"en": "Jasmine Absolute"},
     "category": "FLORAL", "family": "Jasmine", "status": "merged", "mergedInto": "8d3f6a2b-41c7-4e95-b0a8-7c2d9e1f5a36",
     "registeredAt": "2026-01-15"}
  ]
}

Two aromas are called "Jasmine": one of Example Scents Ltd. (tag 8d3f6a2b) and one of @mina (tag f1a9c4e7). "Jasmine Sambac" is another variant of the same scent. "Jasmine Absolute" was declared the same aroma as the first "Jasmine".

4.1 Top level

Field Required Type Meaning
aromaRegistry yes string Format version "<major>.<minor>" (section 11). This specification is "1.0".
registry yes object About the registry (section 4.2).
registrants yes array Who registered the listed aromas (section 4.3).
aromas yes array The registered aromas (section 4.4). At most 20000.

4.2 registry

Field Required Type Meaning
operator yes string The operator's name, 1–200 Unicode code points.
updatedAt yes string When the document was last changed: an RFC 3339 date-time of the form of ASMF meta.createdAt (ASMF section 3.2).

4.3 registrants[]

Field Required Type Meaning
key yes string The registrant's key, used by aromas[].registrant. MUST match ^[a-z0-9_-]{1,32}$ (ASCII) and be unique in the document.
kind yes string "organization" or "person".
name yes string For an organization, its name, 1–200 Unicode code points. For a person, their public handle written with @: MUST match ^@[a-z0-9_.]{3,30}$ (ASCII).

A person is listed by handle only. The registry has no member for a person's legal name, address or any other contact detail.

4.4 aromas[]

Field Required Type Meaning
id yes string The aroma identifier, of the form of ASMF aromas[].id (ASMF section 3.4): 8-4-4-4-12 hexadecimal digits, not all zero. Unique in the document, ignoring case.
registrant yes string The key of an item of registrants.
name yes object Names: language tag → string, as ASMF aromas[].name (language tags of the form of ASMF section 3.2). MUST have en. Each name is 1–200 Unicode code points and not only white space.
category yes string One of the categories below.
family no string The scent the aroma is a variant of (section 6), 1–200 Unicode code points.
code no string The registrant's own public product code, 1–200 Unicode code points.
status yes string "active", "retired" or "merged" (section 8).
mergedInto when status is "merged" string The identifier this aroma was declared the same as (section 8).
registeredAt yes string The date the identifier was registered, YYYY-MM-DD (a valid calendar date, leap years included).

The member names of name are data (language tags), not fields: the field rules of section 11 do not apply to them.

Categories: CITRUS, FLORAL, FRUIT, GREEN, HERB, WOODY, SPICE, SWEET, FOOD, DRINK, NUTS, INCENSE, PERFUME, IMAGE, FUNCTION, OTHER. A minor version MAY add categories (section 11). A category is a coarse grouping for browsing; it says nothing about how an aroma smells beyond that.

5. Telling same-name aromas apart

Aromas multiply: several registrants may register an aroma called "Jasmine", and one registrant may register several jasmines. The registry tells them apart by these rules:

  1. Within one registrant, name.en is unique: two aromas of one registrant MUST NOT have English names that are equal after removing leading and trailing white space (Unicode White_Space) and converting both to lower case (Unicode default lower-case mapping, without locale). "Jasmine" and " jasmine " are the same name (DUPLICATE_NAME). Names in other languages may repeat.
  2. Across registrants, names may repeat.
  3. Display. Wherever two listed aromas share a name, a display SHOULD show each with its registrant's name and its tag, the first 8 hexadecimal digits of its identifier in lower case: "Jasmine · Example Scents Ltd. · 8d3f6a2b" and "Jasmine · @mina · f1a9c4e7". The tag is for people; software compares whole identifiers.

Invalid: DUPLICATE_NAME at aromas[1].name.en.

{"aromaRegistry": "1.0", "registry": {"operator": "Aromajoin Corporation", "updatedAt": "2026-11-19T09:00:00Z"},
 "registrants": [{"key": "example-scents", "kind": "organization", "name": "Example Scents Ltd."}],
 "aromas": [
   {"id": "8d3f6a2b-41c7-4e95-b0a8-7c2d9e1f5a36", "registrant": "example-scents", "name": {"en": "Jasmine"}, "category": "FLORAL", "status": "active", "registeredAt": "2026-03-02"},
   {"id": "5b72e0d9-8c14-4a3f-be61-d94a2f7c3b08", "registrant": "example-scents", "name": {"en": " jasmine "}, "category": "FLORAL", "status": "active", "registeredAt": "2026-11-19"}]}

6. Families and lots

An aroma is made from materials that are bought again and again. The registry separates "the same aroma bought again" from "a different aroma":

  • Same smell, new purchase: a new lot. When a registrant buys the materials of an aroma again and the result smells the same, it is the same aroma: the identifier stays, and the registrant records the purchase as a new lot of its registration (section 7). Nothing changes in the registry document.
  • Different smell: a new identifier. When the result smells different (another supplier, another grade, another formula), it is a new aroma: the registrant creates a new identifier and registers it, usually with the same family as the aroma it varies.
  • Whether two materials "smell the same" is the registrant's judgement. The operator may ask the registrant about it.

family names the scent an aroma is a variant of ("Jasmine"). Families are compared ignoring case and surrounding white space, as names are (section 5). Aromas of one family are variants of one scent. A player that substitutes (ASMF section 10, rule 4) MAY prefer an aroma of the same family as the missing one; the registry promises nothing stronger than that.

7. Registration records and confidentiality

A registrant registers one aroma by sending the operator a registration record. It holds the public facts of the aroma, the registrant, a contact, and the provenance of the aroma's materials as lots:

Valid.

{
  "aromaRegistration": "1.0",
  "registrant": {"key": "example-scents", "kind": "organization", "name": "Example Scents Ltd."},
  "contact": {"email": "registry@example.com", "person": "Jane Example"},
  "aroma": {"id": "5b72e0d9-8c14-4a3f-be61-d94a2f7c3b08", "registrant": "example-scents", "name": {"en": "Jasmine Sambac"},
            "category": "FLORAL", "family": "Jasmine", "code": "EX-002", "status": "active", "registeredAt": "2026-11-19"},
  "lots": [
    {"supplier": "Example Materials Co.", "supplierProduct": "Jasmine sambac oil", "supplierCode": "EM-4471",
     "purchasedOn": "2026-09-30", "lot": "B-17"},
    {"supplier": "Example Materials Co.", "purchasedOn": "2026-11-02", "lot": "B-23", "note": "Same smell as B-17."}
  ]
}

7.1 Fields

Field Required Type Meaning
aromaRegistration yes string Format version (section 11). This specification is "1.0".
registrant yes object The registrant, as an item of registrants (section 4.3). Public.
contact yes object How the operator reaches the registrant (below). Confidential.
aroma yes object The aroma, as an item of aromas (section 4.4). Public. Its registrant MUST be registrant.key, and its status MUST be "active" (a registration is of an aroma in use; retiring and merging are arranged with the operator).
lots yes array The purchases of the aroma's materials (below), at least one. Confidential.

contact:

Field Required Type Meaning
email yes string An e-mail address: exactly one @, with at least one character on each side; at most 200 Unicode code points.
person no string Whom to ask, 1–200 Unicode code points.

lots[]:

Field Required Type Meaning
supplier yes string Who supplied the material, 1–200 Unicode code points. "undisclosed" when the registrant withholds it.
supplierProduct no string The supplier's product name, 1–200 Unicode code points.
supplierCode no string The supplier's product code, 1–200 Unicode code points.
purchasedOn yes string The purchase date, YYYY-MM-DD (a valid calendar date).
lot no string The supplier's or the registrant's lot number, 1–200 Unicode code points.
note no string A free note, 1–1000 Unicode code points.

lots is required so that the operator always receives provenance. What an operator requires of external registrants is its intake policy, outside this format; a registrant who withholds the supplier writes one lot with "supplier": "undisclosed" and the purchase date.

7.2 Confidentiality

contact and lots are confidential:

  • An operator MUST NOT publish them, in the registry document or anywhere else, and MUST NOT publish anything derived from them (a supplier, a product, a purchase, a lot or a material).
  • The registry document is built only from public records. The public record of a registration is its aroma object, with id and mergedInto written in lower case and with every x- member and every member the reader does not know left out. Nothing of contact, lots or the registration's other members is in it. The registrant, which is public, is listed in registrants from the registration's registrant object.
  • The registry document has no member that could carry provenance: an unknown member such as lots or supplier in a 1.0 registry document is UNKNOWN_FIELD.
  • x- members SHOULD NOT carry provenance in either document.

The public record of the registration above:

Valid; the public record of the registration above.

{"id": "5b72e0d9-8c14-4a3f-be61-d94a2f7c3b08", "registrant": "example-scents", "name": {"en": "Jasmine Sambac"},
 "category": "FLORAL", "family": "Jasmine", "code": "EX-002", "status": "active", "registeredAt": "2026-11-19"}

A person who withholds the supplier:

Valid.

{"aromaRegistration": "1.0",
 "registrant": {"key": "mina", "kind": "person", "name": "@mina"},
 "contact": {"email": "mina@example.com"},
 "aroma": {"id": "f1a9c4e7-2b58-4d06-93ce-6a1b8d4f07e2", "registrant": "mina", "name": {"en": "Jasmine"},
           "category": "FLORAL", "family": "Jasmine", "status": "active", "registeredAt": "2026-11-19"},
 "lots": [{"supplier": "undisclosed", "purchasedOn": "2026-10-02"}]}

Invalid: OUT_OF_RANGE at lots.

{"aromaRegistration": "1.0",
 "registrant": {"key": "mina", "kind": "person", "name": "@mina"},
 "contact": {"email": "mina@example.com"},
 "aroma": {"id": "f1a9c4e7-2b58-4d06-93ce-6a1b8d4f07e2", "registrant": "mina", "name": {"en": "Jasmine"},
           "category": "FLORAL", "status": "active", "registeredAt": "2026-11-19"},
 "lots": []}

Invalid: UNKNOWN_FIELD at aromas[0].lots.

{"aromaRegistry": "1.0", "registry": {"operator": "Aromajoin Corporation", "updatedAt": "2026-11-19T09:00:00Z"},
 "registrants": [{"key": "mina", "kind": "person", "name": "@mina"}],
 "aromas": [{"id": "f1a9c4e7-2b58-4d06-93ce-6a1b8d4f07e2", "registrant": "mina", "name": {"en": "Jasmine"},
             "category": "FLORAL", "status": "active", "registeredAt": "2026-11-19",
             "lots": [{"supplier": "undisclosed", "purchasedOn": "2026-10-02"}]}]}

8. Statuses and merges

status Meaning
active The aroma is registered and in use.
retired The aroma is no longer made. Its identifier stays valid: documents that use it keep their meaning, and a player that holds the aroma still plays it.
merged The registrant has declared the aroma the same as the aroma mergedInto (for example, two identifiers were created for one aroma by mistake).

Rules for merges:

  1. mergedInto is present exactly when status is "merged".
  2. mergedInto is the identifier of another aroma of the same document (compared ignoring case), whose status is active or retired. A merge never points at itself, at a missing identifier, or at a merged aroma: there are no chains.
  3. A merge is identity, not substitution: it is declared by the registrant, who knows both aromas are one.

Invalid: INVALID_MERGE at aromas[1].mergedInto.

{"aromaRegistry": "1.0", "registry": {"operator": "Aromajoin Corporation", "updatedAt": "2026-11-19T09:00:00Z"},
 "registrants": [{"key": "example-scents", "kind": "organization", "name": "Example Scents Ltd."}],
 "aromas": [
   {"id": "8d3f6a2b-41c7-4e95-b0a8-7c2d9e1f5a36", "registrant": "example-scents", "name": {"en": "Jasmine"}, "category": "FLORAL",
    "status": "merged", "mergedInto": "5b72e0d9-8c14-4a3f-be61-d94a2f7c3b08", "registeredAt": "2026-03-02"},
   {"id": "2a6d9b4c-e37f-4c18-8b05-61f4a7e2d9c3", "registrant": "example-scents", "name": {"en": "Jasmine Absolute"}, "category": "FLORAL",
    "status": "merged", "mergedInto": "8d3f6a2b-41c7-4e95-b0a8-7c2d9e1f5a36", "registeredAt": "2026-01-15"},
   {"id": "5b72e0d9-8c14-4a3f-be61-d94a2f7c3b08", "registrant": "example-scents", "name": {"en": "Jasmine Sambac"}, "category": "FLORAL",
    "status": "active", "registeredAt": "2026-11-19"}]}

The second aroma is merged into the first, which is itself merged: a chain.

9. Errors

Errors come in two groups. A document is valid when it has neither.

9.1 Structural errors

The reader reports exactly one structural error, {"code": …, "path": …}, and stops; it does not check the rules.

Code Meaning
MALFORMED As ASMF section 5.1: not UTF-8 or not JSON (a lone surrogate escape included); top level not an object; a byte order mark; larger than 4 MiB (4194304 bytes); nesting deeper than 32 levels (the top-level object is level 1); a member name twice in one object; a number token too large for a finite double; a required field missing; a value of the wrong JSON type.
UNSUPPORTED_VERSION The version member (aromaRegistry or aromaRegistration) is not of the form "<integer>.<integer>" (one or more ASCII digits on both sides of one ., each number at most 4294967295), or its major version is not one the reader implements.
UNKNOWN_FIELD A member the reader does not know, under the conditions of section 11.

Neither document has a number member, so a number where a string is expected is MALFORMED like any other wrong type. Errors about the text as a whole carry the empty path; the others carry the path of the offending member (registry.updatedAt, aromas[0].status, lots[0].purchasedOn, aromas[0].lots).

A reader checks in this order and reports the first error it finds:

  1. The size limit and the byte order mark.
  2. The UTF-8 encoding, the JSON syntax, duplicate member names and the nesting depth, over the whole text.
  3. The top level is an object.
  4. The version member (aromaRegistry for a registry document, aromaRegistration for a registration record): present and a string (MALFORMED), then its form and major version (UNSUPPORTED_VERSION), both at the version member. Nothing else is read in a document of another major version.
  5. Unknown members of the top-level object.
  6. A registry document: registry, registrants, aromas. A registration record: registrant, contact, aroma, lots. Arrays item by item in index order, each item checked completely before the next. Inside each object, unknown members are checked first, then the fields are read in the order of their table.

Invalid: UNSUPPORTED_VERSION at aromaRegistry.

{"aromaRegistry": "2.0", "registry": {"operator": "Aromajoin Corporation", "updatedAt": "2026-11-19T09:00:00Z"}, "registrants": [], "aromas": []}

Invalid: MALFORMED at lots[0].purchasedOn.

{"aromaRegistration": "1.0",
 "registrant": {"key": "mina", "kind": "person", "name": "@mina"},
 "contact": {"email": "mina@example.com"},
 "aroma": {"id": "f1a9c4e7-2b58-4d06-93ce-6a1b8d4f07e2", "registrant": "mina", "name": {"en": "Jasmine"},
           "category": "FLORAL", "status": "active", "registeredAt": "2026-11-19"},
 "lots": [{"supplier": "undisclosed"}]}

9.2 Rule violations

The reader reports every violation as a list of {"path": …, "code": …}.

Code Meaning Path
TOO_MANY More than 20000 items in aromas. When it is reported, nothing else is checked. aromas.
INVALID_VALUE A string not of its form: operator, updatedAt; a registrant's key, kind or name (by its kind; a registrant of an unknown kind is checked as an organization); an id; a name's language tag, or a name that is empty, only white space or longer than 200 code points; a category the reader does not know (section 11); family, code; a status other than the three of section 8; registeredAt; in a registration, contact.email, contact.person, the strings of a lot, purchasedOn, and an aroma.status other than active. The string: registry.operator, registrants[i].kind, aromas[i].id, aromas[i].name.<tag> (the tag as written), aromas[i].category, contact.email, lots[i].purchasedOn, aroma.status, and so on.
DUPLICATE_KEY A registrant key already used by an earlier item of registrants. registrants[i].key of the later item.
DUPLICATE_AROMA An id already used (ignoring case) by an earlier item of aromas. Only judged for a well-formed id. aromas[i].id of the later item.
UNKNOWN_KEY aromas[].registrant is not the key of an item of registrants; in a registration, aroma.registrant is not registrant.key. aromas[i].registrant, aroma.registrant.
OUT_OF_RANGE A name without en; in a registration, lots empty. aromas[i].name, aroma.name, lots.
DUPLICATE_NAME An aroma's name.en equals (section 5, rule 1) the name.en of an earlier aroma of the same registrant. Only judged for a valid name.en. aromas[i].name.en of the later aroma.
INVALID_MERGE mergedInto absent while status is merged; present while status is active or retired; not a well-formed identifier; the aroma's own identifier; no aroma of the document has it; or that aroma's status is not active or retired. In a registration, mergedInto present. aromas[i].mergedInto, aroma.mergedInto.

9.3 Reporting order

Validators MUST report violations in this order:

  1. A registry document: if TOO_MANY applies, the list is exactly that violation. Otherwise registry (operator, updatedAt); then registrants in index order; then aromas in index order.
  2. A registration record: registrant; contact (email, person); aroma; lots (OUT_OF_RANGE at lots when empty; else each lot in index order).
  3. Within one place:
    • a registrant: key INVALID_VALUE, key DUPLICATE_KEY, kind, name;
    • an aroma: id (INVALID_VALUE, or else DUPLICATE_AROMA), registrant, name (OUT_OF_RANGE, then each entry in the order written, then DUPLICATE_NAME), category, family, code, status, mergedInto, registeredAt;
    • a lot: supplier, supplierProduct, supplierCode, purchasedOn, lot, note.

10. Relation to ASMF

  • ASMF documents and Aroma Recipes use registered identifiers exactly as any other identifier: registration changes nothing in them, and a player needs no registry to play them.
  • A player that uses a registry MAY first replace an identifier whose status there is merged by the identifier it was merged into, and then look it up in its device's assignment (ASMF section 10, rule 2). This is identity, declared by the registrant, not substitution.
  • A player MAY show the registry's names, registrant and tag for the aromas of a document, and MAY use family to rank candidates when substitution is switched on (ASMF section 10, rule 4).
  • An aroma that is not registered can still be used in a document, but only the devices that hold it emit it. What a writer or a service does when such a document is passed on to other people is in ASMF section 13.1. Registering the aroma later keeps its identifier (section 3), so the document needs no change.

11. Versioning and extension

The rules of ASMF section 6 apply, with aromaRegistry or aromaRegistration as the version member:

  1. Major version. A reader MUST reject a document whose major version it does not implement (UNSUPPORTED_VERSION).
  2. Minor version. A reader reads a document whose minor version is higher than its own. A minor version MAY only add optional members and categories.
  3. Unknown members. A member whose name begins with x- is ignored in every object. Any other unknown member is ignored when the document's minor version is higher than the reader's, and is UNKNOWN_FIELD otherwise.
  4. New categories. A category the reader does not know is accepted in a document whose minor version is higher than the reader's, and is INVALID_VALUE otherwise.

A 1.0 reader accepts this 1.1 document: it ignores the unknown member and accepts the unknown category.

Valid.

{"aromaRegistry": "1.1", "mirrors": ["https://example.com/registry.json"],
 "registry": {"operator": "Aromajoin Corporation", "updatedAt": "2027-01-04T00:00:00+09:00"},
 "registrants": [{"key": "example-scents", "kind": "organization", "name": "Example Scents Ltd."}],
 "aromas": [{"id": "e47a1b93-5c6d-4f08-9b2e-0d3c8a6f1e75", "registrant": "example-scents", "name": {"en": "Sea Breeze"},
             "category": "MARINE", "status": "active", "registeredAt": "2027-01-04"}]}

12. Conformance

  • A valid document has no structural error and no rule violation for a reader of its major version.
  • A conforming validator reports, for every input, the same structural error (code and path) as this specification, or, when there is none, the same violation list in the same order (section 9.3).
  • A conforming operator publishes only valid registry documents built from public records (section 7.2), keeps every published identifier (section 3), and never publishes contact or lots.

The shared test vectors in vectors/aroma-registry-cases.json check an implementation. The file is one JSON object; each section is an array of named cases:

Section Each case An implementation passes when
registryStructural, registrationStructural text (raw text), or generate (oversize: 4 MiB + 1 bytes; deep: 33 nesting levels; deep32: 32 levels; registry only), and expected parsing as that document gives expected: null for success, else {"code", "path"} exactly.
registryValidation, registrationValidation document (an object, or a string holding the exact text) and expected parsing and validating document gives exactly the ordered list expected.
public registration (an object, or a string holding the exact text) and public (an object) the registration is valid, and its public record equals public (member order not significant).

Some registryValidation documents use generators, which a runner expands before serialising: {"list": "aromas", "count": N} becomes N aromas of registrant r, aroma i having the identifier whose first group is i + 1 in 8 lower-case hexadecimal digits followed by -0000-4000-8000-000000000000, the name {"en": "Aroma i"}, category OTHER, status active and registeredAt 2026-01-01; {"repeat": s, "count": N} becomes the string s repeated N times.

The reference implementation is the Rust crate in crates/aroma-registry. It runs the vectors in its test tests/vectors.rs, checks that no public record carries a confidential member, and checks every example in this document in tests/spec_examples.rs.

13. Media types and file names

  • Media types: application/vnd.aromajoin.aroma-registry+json (registry document) and application/vnd.aromajoin.aroma-registration+json (registration record).
  • Version 1.0 defines no file extension of its own: both documents are stored as .json files. A minor version may add extensions.
  • Encoding: UTF-8, without a byte order mark.

14. Security and privacy considerations

  • Size, depth and duplicate member names: as ASMF section 16. The limit of 20000 aromas keeps a registry document within the 4 MiB limit.
  • Confidential provenance. contact and lots (suppliers, supplier products and codes, purchase dates, lot numbers, notes) MUST NOT be published (section 7.2). Registration records SHOULD be kept by the operator with access limited to the people who review registrations, and SHOULD be sent over an encrypted channel.
  • Persons. A person is published by handle only; an operator MUST NOT publish a person's contact details or legal name.
  • Identifiers reveal nothing. Identifiers are random (ASMF section 13); code is a product code the registrant already publishes, and is optional.
  • Impersonation. The registry lists what a registrant declared; an operator SHOULD confirm that a registrant is who it claims to be before listing it. A display MUST show the registrant with every name it shows, so that one registrant cannot pass off an aroma as another's.
  • No active content. Names, families, codes and registrant names are plain text and MUST be shown as text, not interpreted as markup.
  • Error reports. Paths can embed member names and language tags taken from the document, of any length and unescaped; treat them as untrusted text when logging or displaying them.

15. Change log

Version Date Changes
1.0 2026-11-19 First version (draft).
1.0 (draft revision) 2026-11-24 Relation to ASMF: aromas that are not registered, and documents passed on to others (section 10). No rule changes.