Skip to content

Instantly share code, notes, and snippets.

@jordymeow
Last active March 30, 2024 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jordymeow/fc5f92818e17a42facb912417bf9d70d to your computer and use it in GitHub Desktop.
Save jordymeow/fc5f92818e17a42facb912417bf9d70d to your computer and use it in GitHub Desktop.
This JSON lists the metadata types Lightroom manages for photos, from creator details to location info, detailing each key with its data type and description. The photo:getFormattedMetadata(key) function in the Lightroom SDK retrieves this metadata in a user-friendly format for display, mirroring Lightroom's layout, rather than for parsing.
{
"additionalModelInfo": {"type": "string", "description": "Information about the ethnicity and other facets of models in a model-released image."},
"aperture": {"type": "string", "description": "The aperture (for example, 'f/2.8')."},
"artist": {"type": "string", "description": "The artist's name."},
"artworksShown": {"type": "table", "description": "A set of metadata about artwork or an object in the image. Each element in the table is a structure named ArtworkOrObjectDetails, as defined in the IPTC Extension spec."},
"brightnessValue": {"type": "string", "description": "The brightness value."},
"cameraMake": {"type": "string", "description": "The camera manufacturer."},
"cameraModel": {"type": "string", "description": "The camera model."},
"cameraSerialNumber": {"type": "string", "description": "The camera serial number."},
"caption": {"type": "string", "description": "The caption for photo."},
"city": {"type": "string", "description": "The name of the city shown in this image."},
"codeOfOrgShown": {"type": "string", "description": "Code from a controlled vocabulary for identifying the organization or company featured in this image."},
"colorNameForLabel": {"type": "string", "description": "The color name corresponding to the color label associated with this photo."},
"copyName": {"type": "string", "description": "The name associated with this copy."},
"copyright": {"type": "string", "description": "The copyright text for this image."},
"copyrightInfoUrl": {"type": "string", "description": "The URL containing additional copyright information for this image."},
"copyrightOwner": {"type": "table", "description": "Owner or owners of the copyright in this licensed image. Each element in the table is a structure named CopyrightOwnerDetail defined in PLUS."},
"copyrightState": {"type": "string", "description": "The copyright state for this image."},
"country": {"type": "string", "description": "The name of the country shown in this image."},
"creator": {"type": "string", "description": "The name of the person that created this image."},
"creatorAddress": {"type": "string", "description": "The address for the person that created this image."},
"creatorCity": {"type": "string", "description": "The city for the person that created this image."},
"creatorCountry": {"type": "string", "description": "The country for the person that created this image."},
"creatorEmail": {"type": "string", "description": "The email address for the person that created this image."},
"creatorJobTitle": {"type": "string", "description": "The job title of the person that created this image."},
"creatorPhone": {"type": "string", "description": "The phone number for the person that created this image."},
"creatorPostalCode": {"type": "string", "description": "The postal code for the person that created this image."},
"creatorStateProvince": {"type": "string", "description": "The state or province for the person that created this image."},
"creatorUrl": {"type": "string", "description": "The web URL for the person that created this image."},
"croppedDimensions": {"type": "string", "description": "The cropped dimensions of file (for example, '3072 x 2304')."},
"dateCreated": {"type": "string", "description": "The IPTC-formatted creation date (for example, '2005-09-20T15:10:55Z')."},
"dateTime": {"type": "string", "description": "Adjusted date and time (formatting can vary based on the user's localization settings)."},
"dateTimeDigitized": {"type": "string", "description": "The date and time of scanning (formatting can vary based on the user's localization settings)."},
"dateTimeOriginal": {"type": "string", "description": "The date and time of capture (formatting can vary based on the user's localization settings)."},
"descriptionWriter": {"type": "string", "description": "The name of the person who wrote, edited or corrected the description of the image."},
"dimensions": {"type": "string", "description": "The original dimensions of file (for example, '3072 x 2304')."},
"digImageGUID": {"type": "string", "description": "Globally unique identifier for the item, created and applied by the creator of the item at the time of its creation."},
"event": {"type": "string", "description": "Names or describes the specific event at which the photo was taken."},
"exposure": {"type": "string", "description": "The exposure summary (for example, '1/60 sec at f/2.8')."},
"exposureBias": {"type": "string", "description": "The exposure bias/compensation (for example, '-2/3 EV')."},
"exposureProgram": {"type": "string", "description": "The exposure program (for example, 'Aperture priority')."},
"fileName": {"type": "string", "description": "The leaf name of the file (for example, 'myFile.jpg')."},
"fileSize": {"type": "string", "description": "The formatted size of the file, or, if the file is offline, but there is a smart preview, the size of the smart preview."},
"fileType": {"type": "string", "description": "The user-visible file type (DNG, RAW, etc.)."},
"flash": {"type": "string", "description": "Whether the flash fired or not (for example, 'Did fire')."},
"folderName": {"type": "string", "description": "The name of the folder the file is in."},
"focalLength": {"type": "string", "description": "The focal length of lens as shot (for example, '132 mm')."},
"focalLength35mm": {"type": "string", "description": "The focal length as 35mm equivalent (for example, '211 mm')."},
"gps": {"type": "string", "description": "The location of this photo."},
"gpsAltitude": {"type": "string", "description": "The GPS altitude for this photo."},
"gpsImgDirection": {"type": "string", "description": "The GPS direction for this photo."},
"headline": {"type": "string", "description": "A brief, publishable synopsis or summary of the contents of this image."},
"imageCreator": {"type": "table", "description": "Creator or creators of the image. Each element in the table is a structure named ImageCreatorDetail defined in PLUS."},
"imageSupplier": {"type": "table", "description": "Identifies the most recent supplier of this photo. Each element in the table is a structure named ImageSupplierDetail defined in PLUS."},
"imageSupplierImageId": {"type": "string", "description": "Identifier assigned by the Image Supplier."},
"instructions": {"type": "string", "description": "Information about embargoes, or other restrictions not covered by the Rights Usage field."},
"intellectualGenre": {"type": "string", "description": "A term to describe the nature of the image in terms of its intellectual or journalistic characteristics."},
"iptcCategory": {"type": "string", "description": "Deprecated field; included for transferring legacy metadata."},
"iptcOtherCategories": {"type": "string", "description": "Deprecated field; included for transferring legacy metadata."},
"iptcSubjectCode": {"type": "string", "description": "Values from the IPTC Subject NewsCode Controlled Vocabulary."},
"isoCountryCode": {"type": "string", "description": "The 2 or 3 letter ISO 3166 Country Code of the country shown in this image."},
"isoSpeedRating": {"type": "string", "description": "The ISO speed rating (for example, 'ISO 200')."},
"jobIdentifier": {"type": "string", "description": "A number or identifier needed for workflow control or tracking."},
"keywordTags": {"type": "string", "description": "The list of keywords as shown in the Keyword Tags panel (with Enter Keywords selected)."},
"keywordTagsForExport": {"type": "string", "description": "The list of keywords for export, removing tags meant to be hidden and including all parent and ancestor tags."},
"label": {"type": "string", "description": "The name of assigned color label."},
"lens": {"type": "string", "description": "The lens (for example, '28.0-135.0 mm')."},
"licensor": {"type": "table", "description": "A person or company that should be contacted to obtain a license for using the photo. Each element in the table is a structure named LicensorDetail defined in PLUS."},
"location": {"type": "string", "description": "Details about a location shown in this image."},
"locationCreated": {"type": "table", "description": "The location where the photo was taken. Each element in the table is a structure named LocationDetails as defined in the IPTC Extension spec."},
"locationShown": {"type": "table", "description": "The location shown in this image. Each element in the table is a structure named LocationDetails as defined in the IPTC Extension spec."},
"maxAvailHeight": {"type": "number", "description": "The maximum available height in pixels of the original photo from which this photo has been derived by downsizing."},
"maxAvailWidth": {"type": "number", "description": "The maximum available width in pixels of the original photo from which this photo has been derived by downsizing."},
"meteringMode": {"type": "string", "description": "The metering mode (for example, 'Pattern')."},
"minorModelAge": {"type": "string", "description": "Age of the youngest model pictured in the image, at the time that the image was made."},
"modelAge": {"type": "string", "description": "Age of human model(s) at the time this image was taken in a model-released image."},
"modelReleaseID": {"type": "string", "description": "A PLUS-ID identifying each Model Release."},
"modelReleaseStatus": {"type": "string", "description": "Summarizes the availability and scope of model releases authorizing usage of the likenesses of persons appearing in the photo."},
"nameOfOrgShown": {"type": "string", "description": "Name of the organization or company featured in this image."},
"personShown": {"type": "string", "description": "Name of a person shown in this image."},
"plusVersion": {"type": "string", "description": "The version number of the PLUS standards in place at the time of the transaction."},
"preservedFileName": {"type": "string", "description": "The preserved file name of the file."},
"propertyReleaseID": {"type": "string", "description": "A PLUS-ID identifying each Property Release."},
"propertyReleaseStatus": {"type": "string", "description": "Summarizes the availability and scope of property releases authorizing usage of the likenesses of persons appearing in the image."},
"provider": {"type": "string", "description": "Name of person who should be credited when this image is published."},
"rating": {"type": "number", "description": "The user rating of the file (either nil or number of stars)."},
"registryId": {"type": "table", "description": "Both a Registry Item ID and a Registry Organization ID to record any registration of this item with a registry. Each element in the table is a structure named RegistryEntryDetail as defined in the IPTC Extension spec."},
"rightsUsageTerms": {"type": "string", "description": "Instructions on how this image can legally be used."},
"scene": {"type": "string", "description": "Values from the IPTC Scene NewsCodes Controlled Vocabulary."},
"shutterSpeed": {"type": "string", "description": "The shutter speed (for example, '1/60 sec')."},
"software": {"type": "string", "description": "The software used to process/create photo."},
"source": {"type": "string", "description": "The original owner of the copyright of this image."},
"sourceType": {"type": "string", "description": "The type of the source of this digital image, selected from a controlled vocabulary."},
"stateProvince": {"type": "string", "description": "The name of the state shown in this image."},
"subjectDistance": {"type": "string", "description": "The subject distance (for example, '3.98 m')."},
"title": {"type": "string", "description": "The title of photo."}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment