Class MetadataField
Represents a field in metadata that XMP can be mapped to or from
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class MetadataField
Properties
AvailableKeyFields
A list of field IDs that can be used as a key field when a tagbox is mapped.
Declaration
[JsonProperty("availableKeyFields", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<string> AvailableKeyFields { get; set; }
Property Value
ICollection<string> |
DataType
Data type of the field.
Declaration
[JsonProperty("dataType", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public MetadataFieldDataType DataType { get; set; }
Property Value
MetadataFieldDataType |
IsWritable
Indicates if the field can act as target for a mapping.
If field is read-only, it can only act as source of a mapping.
Declaration
[JsonProperty("isWritable", Required = Required.Always)]
public bool IsWritable { get; set; }
Property Value
bool |
Path
Path to the field in metadata.
Declaration
[JsonProperty("path", Required = Required.Always)]
[Required]
public string Path { get; set; }
Property Value
string |
Methods
FromJson(string)
Declaration
public static MetadataField FromJson(string data)
Parameters
string data |
Returns
MetadataField |