XchangeEXPERIMENTAL XRD

XCHANGE / DOCUMENTATION

Data specification

Traceable patterns, structures and experimental metadata.

2026-10-13 · Xchange

01

Measured patterns

Accepted extensions: .xy .xye .csv .dat .txt .xrdml. Text normally supplies 2θ in degrees and intensity in its first two columns. A third XYE column is not used in previews. Header-based columns, Rigaku Scan points and PANalytical XRDML are supported. Images and PDFs are not measured-pattern inputs.

Valid patterns contain 2–1,000,000 finite points, nonnegative angles increasing strictly after parsing and sorting, and at least one positive intensity. Unrecognized rows and negative intensities are skipped by the current parser: inspect the preview and retain the instrument originals. This preview is not a refinement tool.

02

Structures and phases

CIFs must be UTF-8 text that parses into a cell and atomic structure, with positive volume and at most 5,000 sites. Magnetic transformation fields are currently rejected. Use one CIF for a single phase, or 2–20 CIFs for multiple phases; name each phase and supply its formula.

Each CIF is limited to 5 MiB; all files plus form overhead must fit within 25 MiB. Replacements validate every file before publication. Filenames are normalized, and the measured pattern is saved as PATTERN.ext.

03

Metadata

Sample, target, measurement date and contributor are required. Manual assignment also needs formula and phase names. Wavelength is in Å, must be finite and positive, and cannot exceed 10. Cu Kα defaults to 1.5406 Å; other radiation sources require their actual wavelength.

Also record institution, instrument, batch, preparation, scan conditions, calibration, CIF source, DOI, license and anomalies. Notes are saved in NOTE.txt. Form fields retain up to 500 characters; line breaks in metadata are normalized.

04

Folder layout and example

Web uploads create one folder per experiment under its measurement date; collisions receive a suffix. Manual imports are an operator action while the service is stopped. Preserve original files and source attribution; do not use symlinks to external files.

data/2026-10-13/Cu-Xray-sample/
  INFO.txt
  PATTERN.xy
  phase-1.cif
  NOTE.txt

SAMPLE: Example sample
FORMULA: TiO2
TARGET: Cu
WAVELENGTH: 1.5406
DATE: 2026-10-13
CONTRIBUTOR: Researcher
REVIEW_STATUS: unchecked
PHASE: Rutile | TiO2 | phase-1.cif | primary

05

Review states

ValueMeaning
uncheckedNew or corrected submission awaiting review
needs_reviewFurther review, such as added publication details
checkedApproved by a human reviewer
rejectedReviewed and not approved; reason retained

Legacy needs_review entries with reviewer and date are interpreted as not approved, except publication supplements. Browsing does not rewrite the original files. Identification and review statuses are separate; automatic matching never approves a record.

06

Citation and reuse

Cite Xchange and the specific contributor, RECORD_ID, VERSION, source publication or database. Check each record and source license; a missing license does not imply unrestricted permission. RRUFF, Materials Project and other third-party data retain their own rights and attribution requirements.