Skip to content

Commit 1b7f22f

Browse files
authored
Merge pull request cloudevents#32 from clemensv/1-0-doc-edit
Updated doc for 1.0
2 parents ab5513f + 2420e14 commit 1b7f22f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ for you.
3030
| **time** | `CloudEvent.Time` | `System.DateTime` |
3131
| **source** | `CloudEvent.Source` | `System.Uri` |
3232
| **subject** | `CloudEvent.Subject` | `System.String` |
33-
| **schema** | `CloudEvent.SchemaUrl` | `System.Uri` |
33+
| **dataschema** | `CloudEvent.DataSchema` | `System.Uri` |
3434
| **datacontenttype** | `CloudEvent.ContentType` | `System.Net.Mime.ContentType` |
3535
| **data** | `CloudEvent.Data` | `System.Object` |
3636

src/CloudNative.CloudEvents/CloudEvent.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ public string Id
124124
}
125125

126126
/// <summary>
127-
/// CloudEvents 'schemaurl' attribute. A link to the schema that the data attribute
127+
/// CloudEvents 'dataschema' attribute. A link to the schema that the data attribute
128128
/// adheres to. Incompatible changes to the schema SHOULD be reflected by a
129-
/// different URL.
129+
/// different URI.
130130
/// </summary>
131-
/// <see cref="https://github.com/cloudevents/spec/blob/master/spec.md#schemaurl"/>
131+
/// <see cref="https://github.com/cloudevents/spec/blob/master/spec.md#dataschema"/>
132132
public Uri DataSchema
133133
{
134134
get => attributes[CloudEventAttributes.DataSchemaAttributeName(attributes.SpecVersion)] as Uri;

0 commit comments

Comments
 (0)